package com.youfang.sixthmedia.message;

import java.util.List;

import com.youfang.sixthmedia.common.YoufangContext;
import com.youfang.sixthmedia.net.Pair;
import com.youfang.sixthmedia.net.Request;

//获得网友评论
public class GetCommentRequest extends Request {

	private String houseid;
	private int page;
	private int pagesize = YoufangContext.LIST_PAGE_SIZE;

	@Override
	public List<Pair> getParams() {
		return Pair.p("controller", "comment").p("action", "getComment")
				.p("houseid", houseid).p("page", page).p("pagesize", pagesize)
				.get();
	}

	@Override
	public void genMetaData() {

	}

	public String getHouseid() {
		return houseid;
	}

	public void setHouseid(String houseid) {
		this.houseid = houseid;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPagesize() {
		return pagesize;
	}

	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}

}
